/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.mldn.demo;

/**
 *
 * @author Administrator
 */
public class TestJava {
    public static void main(String[] args){
        int num = 10;
        num = 30;
        System.out.println("num的内容是： "+ num);
        System.out.println("num * num ="+num*num);
        System.out.println(3);
        System.out.println(33.3);
        System.out.println('3');
        System.out.println(true);
        System.out.println(3+3);
    }
    
    public static float add(float x, float y){
        return x+y; 
    }
    
    public static int add(int x, int y){
        return x+y;
    }
}
